price = [123,3456,567,789]
sale = [int(x * 0.5) for x in price if x > 300]
print(price)
print(sale)